[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
it. Not elegant, but if it works it works! >> >> Good luck, >> Taco >> >> >> > >> > \startcomponent[chapter-14] >> > \startMPpage >> > ... >> > \stopMPpage >> > \stopcomponent >> > >> > Bu

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
> > > \startcomponent[chapter-14] > > \startMPpage > > ... > > \stopMPpage > > \stopcomponent > > > > But if I compile my project, it disappears !! > > > > \startproduct[terminale-manual] > > \startbodymatter > > \com

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Taco Hoekwater
.. > \stopMPpage > \stopcomponent > > But if I compile my project, it disappears !! > > \startproduct[terminale-manual] > \startbodymatter > \component[chapter-1] > \component[chapter-2] > \component[chapter-3] > \component[cha

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Hans Hagen
project, it disappears !! \startproduct[terminale-manual]  \startbodymatter       \component[chapter-1]       \component[chapter-2]       \component[chapter-3]       \component[chapter-4]       \component[chapter-5]       \component[chapter-6]       \component[chapter-7]       \component

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
[terminale-manual] \startbodymatter \component[chapter-1] \component[chapter-2] \component[chapter-3] \component[chapter-4] \component[chapter-5] \component[chapter-6] \component[chapter-7] \component[chapter-8] \component[chapter-9] \component

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Wolfgang Schuster
l you want. \setuplabeltext [en] [chapter=Chapter , appendix=Appendix , hraban=Hraban ] %\setuplist[chapter][label=hraban,width=3cm] \setuplist[chapter][label=yes,width=3cm] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{First chapter} \chapter{Seco

[NTG-context] Re: Log entries about confusing level change

2024-03-08 Thread Hans Hagen
title=front1]   \samplefile {knuth-gpt}     \stopchapter   \stopfrontmatter   \startbodymatter     \startchapter [title=body1]   \samplefile {knuth-gpt}     \stopchapter   \stopbodymatter   \startbackmatter     \startchapter [title=back1]  

[NTG-context] Log entries about confusing level change

2024-03-07 Thread Rik Kabel
e {knuth-gpt}     \stopchapter   \stopfrontmatter   \startbodymatter     \startchapter [title=body1]   \samplefile {knuth-gpt}     \stopchapter   \stopbodymatter   \startbackmatter     \startchapter [title=back1]   \samplefile {knuth-gpt}     \stopchapter   \st

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
TEXT >> \startbackmatter >> \startchapter[title=Literature] >> \placelistofpublications >> \stopchapter >> \stopbackmatter >> \stoptext > > Besides enabling numbering for the backpart you can use the appendix block > which has numbering by default. >

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Wolfgang Schuster
\completecontent[criterium=all] \stopfrontmatter \startbodymatter \startchapter[title=CHAP 1] TEXT \stopchapter \stopbodymatter \startappendices \startchapter[title=Literature] \placelistofpublications \stopchapter \stopappendices \stoptext Wolfgang

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-14 Thread mf
hod for "way=byblock" when you have an appendix where % the pagenumber of the bodypart continues rather than being reset % % \startsectionblockenvironment[bodypart] %   \resetuserpagenumber % \stopsectionblockenvironment \starttext \startfrontmatter \dorecurse{20}{\samplefile{lorem}\page

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-12 Thread Wolfgang Schuster
than being reset % % \startsectionblockenvironment[bodypart] %   \resetuserpagenumber % \stopsectionblockenvironment \starttext \startfrontmatter \dorecurse{20}{\samplefile{lorem}\page} \stopfrontmatter \startbodymatter \dorecurse{20}{\samplefile{lorem}\page} \stopbodymatter \stoptext

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
] \setuppagenumbering[location=] \input{03_portadaEval.tex}%this is my title page \stopsectionblock \startfrontmatter[] \start \setuplayout[reset] \setupinterlinespace[.8ex] \completecontent \stop \stopfrontmatter \startbodymatter[] \input

[NTG-context] Re: out of order sectionsblocks

2023-09-05 Thread Hans Hagen via ntg-context
ndnote] [location=none]    \starttext      \startbodymatter       \startchapter[title={Body}]        \startparagraph         \input knuthmath         \startendnote         \input knuth-gpt         \stopendnote        \stopparagraph       \stopchapter      \stopbodymatter      \startback

[NTG-context] out of order sectionsblocks

2023-09-04 Thread Rik Kabel
rttext  \startbodymatter   \startchapter[title={Body}]    \startparagraph     \input knuthmath     \startendnote     \input knuth-gpt     \stopendnote    \stopparagraph   \stopchapter  \stopbodymatter  \startbackmatter   \startchapter[title={Notes}]    \plac

[NTG-context] Re: Adjust pagenumbering while skipping first page

2023-09-04 Thread Hans Hagen via ntg-context
] \setcounter [userpage] [0] \setuppagenumbering [location=] \startdocument \setupfooter[state=stop] \startfrontmatter frontpage \stopfrontmatter \setupfooter[state=start] \startbodymatter \dorecurse{10}{\samplefile{lorem}} \stopbodymatter \stopdocument \setupfootertexts [title

[NTG-context] Adjust pagenumbering while skipping first page

2023-09-04 Thread Jeroen
] \setuppagenumbering [location=] \startdocument \setupfooter[state=stop] \startfrontmatter frontpage \stopfrontmatter \setupfooter[state=start] \startbodymatter \dorecurse{10}{\samplefile{lorem}} \stopbodymatter \stopdocument

[NTG-context] Re: Different Layout for First Page

2023-09-04 Thread Wolfgang Schuster
Jeroen schrieb am 04.09.2023 um 14:10: I have a document with the first page in startfrontmatter and all other pages in  startbodymatter. The layout setting is as following [...] What would be the easiest way to change the layout only for the first page since it has no footer. For the first

[NTG-context] Different Layout for First Page

2023-09-04 Thread Jeroen
I have a document with the first page in startfrontmatter and all other pages in startbodymatter. The layout setting is as following \setuplayout [backspace=20mm, width=175mm, topspace=15mm, header=0mm, footer=2mm, height=275mm, bottomheight=1mm, footerdistance=10mm

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Mikael Sundqvist
initions[aps] > > % el text > > \starttext > > \startfrontmatter > \input ng-pre-portada.conTeXt > \input ng-pre-llicencia.conTeXt > \input ng-pre-informacio-document.conTeXt > \completecontent > \stopfrontmatter > > > \startbodymatter > > \startpart[

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
[default][ng-bibliografia.bib] \setupbtx[dataset=default] \usebtxdefinitions[aps] % el text \starttext \startfrontmatter \input ng-pre-portada.conTeXt \input ng-pre-llicencia.conTeXt \input ng-pre-informacio-document.conTeXt \completecontent \stopfrontmatter \startbodymatter \startpart[title

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Wolfgang Schuster via ntg-context
Thank you for this hint. It works (almost) as expected: Strangely, I had to add, explicitly, \startfrontmatter \component FrontMatterStuff \page[yes,header,footer,right] \stopfrontmatter \startbodymatter ... \stopbodymatter In order to get the frontmatter end with a totally blank page befor

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Alan Braslau via ntg-context
s expected: Strangely, I had to add, explicitly, \startfrontmatter \component FrontMatterStuff \page[yes,header,footer,right] \stopfrontmatter \startbodymatter ... \stopbodymatter In order to get the frontmatter end with a totally blank page before a right Chapter 1 header. Using just the

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
pter,section,subsection,subsubsection] >> [criterium=all, >> interaction=all, >> alternative=c] >> \stoptitle >> \stopfrontmatter >> >> \startbodymatter >> \chapter{xxx} >> \stopbody

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
[chapter,section,subsection,subsubsection] > [criterium=all, > interaction=all, > alternative=c] > \stoptitle > \stopfrontmatter > > \startbodymatter > \chapter{xxx} > \stopbodymatter > > \stopprodu

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
[chapter,section,subsection,subsubsection] [criterium=all, interaction=all, alternative=c] \stoptitle \stopfrontmatter \startbodymatter \chapter{xxx} \stopbodymatter \stopproduct shows a table of contents so

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
] \stoptitle \stopfrontmatter \startbodymatter \component[chapitre_1] \component[chapitre_2] \component[chapitre_3] \component[chapitre_4] \component[chapitre_5] \component[chapitre_6] \component[chapitre_7] \component[chapitre_8

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-31 Thread Yaroslav Beltukov via ntg-context
][prefix=yes, prefixsegments=chapter:section] > > > > \starttext > > > > Equations: \in[eq1], \in[eq2], \in[eq3], \in[eq4] > > > > Sections: \in[sec1], \in[sec2], \in[sec3], \in[sec4] > > > > Chapters: \in[chap1], \in[chap2], \in[chap3], \in[chap4] > &

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-30 Thread Hans Hagen via ntg-context
: \in[eq1], \in[eq2], \in[eq3], \in[eq4] Sections: \in[sec1], \in[sec2], \in[sec3], \in[sec4] Chapters: \in[chap1], \in[chap2], \in[chap3], \in[chap4] Remarks: \in[remark1], \in[remark2] \startbodymatter \chapter[chap1]{Chapter} \placeformula[eq1]\startformula x = y\stopformula \chapter[chap2

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Alan Braslau via ntg-context
s, prefixsegments=chapter:section] > > \starttext > > Equations: \in[eq1], \in[eq2], \in[eq3], \in[eq4] > > Sections: \in[sec1], \in[sec2], \in[sec3], \in[sec4] > > Chapters: \in[chap1], \in[chap2], \in[chap3], \in[chap4] > > Remarks: \in[remark1], \in[rema

[NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Yaroslav Beltukov via ntg-context
], \in[sec4] Chapters: \in[chap1], \in[chap2], \in[chap3], \in[chap4] Remarks: \in[remark1], \in[remark2] \startbodymatter \chapter[chap1]{Chapter} \placeformula[eq1]\startformula x = y\stopformula \chapter[chap2]{Chapter} \section[sec1]{Section} \section[sec2]{Section} \placeformula[eq1

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
l.~i.][pagenumber][pagenumber][Figures of Vol.~i.] \noheaderandfooterlines \completelistoffigures \PY } \component ackn % A. Murugaiyan & E. Parlier-Renault \component pref % A. Murugaiyan & E. Parlier-Renault \component intr % Y. Subbarayalu \stopfrontmatter \startbodymatter

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Wolfgang Schuster via ntg-context
] \stopsectionblockenvironment With the above setting you change layout of the chapter entries for list which are placed in the bodymatter environment, e.g.     \startbodymatter     ...     \placelist[chapter]     ...     \stopbodymatter To create separate styles for chapters within the frontmatter and bodymatter

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Pablo Rodriguez via ntg-context
\starttext \completecontent \startfrontmatter \dorecurse{5} {\chapter{Chapter \recurselevel}} \stopfrontmatter \startbodymatter \dorecurse{5} {\chapter{Chapter \recurselevel}} \stopbodymatter \startbackmatter \dorecurse{5} {\chapter{Chapter \recurselevel}} \stopbackmatter \stoptex

Re: [NTG-context] Table of Contents empty for unknown reason

2022-06-13 Thread Aditya Mahajan via ntg-context
gt;     \startfrontmatter >         \startchapter[title={Contents}] >             \placelist[chapter][criterium=all] >         \stopchapter >         \completecontent[criterium=all] >     \stopfrontmatter >     \startbodymatter >     \startchapter[title={Title 1}] >   

[NTG-context] Table of Contents empty for unknown reason

2022-06-12 Thread Joel via ntg-context
I need to display a table of contents, but only displaying chapters. Here is my minimum working example: \starttext     \startfrontmatter         \startchapter[title={Contents}]             \placelist[chapter]         \stopchapter         \completecontent     \stopfrontmatter     \startbodymatter

Re: [NTG-context] Trying to get a simple bibliography

2022-03-27 Thread Jean-Pierre Delange via ntg-context
, A A via ntg-context a écrit : Hi All, I'm trying to get a simple bibliography to work with ConTeXt. Here's what I have so far: *test.tex* * * \usebtxdataset[bibliography.bib] \starttext   \startbodymatter     See \cite[proofwiki]   \stopbodymatter   \startbackmatter     \startsection[title

Re: [NTG-context] Please could you send me the whole example

2022-03-27 Thread A A via ntg-context
Dear Helmut, Here is a full working example: *test.tex* \usebtxdefinitions[aps] \usebtxdataset[bibliography.bib] \setupinteraction[state=start] \starttext \startbodymatter See \cite[proofwiki] \stopbodymatter \startbackmatter \startsection[title=Bibliography

Re: [NTG-context] Trying to get a simple bibliography

2022-03-26 Thread A A via ntg-context
to get a simple bibliography to work with ConTeXt. Here's what >> I have so far: >> >> *test.tex* >> >> \usebtxdataset[bibliography.bib] >> >> \starttext >> >> \startbodymatter >> See \cite[proofwiki] >> \stopbodymatter >

Re: [NTG-context] Trying to get a simple bibliography

2022-03-26 Thread A A via ntg-context
h ConTeXt. Here's what > I have so far: > > *test.tex* > > \usebtxdataset[bibliography.bib] > > \starttext > > \startbodymatter > See \cite[proofwiki] > \stopbodymatter > > \startbackmatter > \startsection[title=Bibliography]

[NTG-context] Trying to get a simple bibliography

2022-03-26 Thread A A via ntg-context
Hi All, I'm trying to get a simple bibliography to work with ConTeXt. Here's what I have so far: *test.tex* \usebtxdataset[bibliography.bib] \starttext \startbodymatter See \cite[proofwiki] \stopbodymatter \startbackmatter \startsection[title=Bibliography] \stopsection

Re: [NTG-context] Chapter number retrieval

2022-03-23 Thread Willi Egger via ntg-context
text > wrote: > Hello Adam! > > Many thanks for your solution. — It works very well in your example and also > in an extended version with \startfrontmatter..\stopfrontmatter > \startbodymatter…\stopbodymatter. — Unfortunately It does not work to my wish > in the actu

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Adam Reviczky via ntg-context
ello Adam! > > Many thanks for your solution. — It works very well in your example and > also in an extended version with \startfrontmatter..\stopfrontmatter > \startbodymatter…\stopbodymatter. — Unfortunately It does not work to my > wish in the actual setup of my book. — I a

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Willi Egger via ntg-context
Hello Adam! Many thanks for your solution. — It works very well in your example and also in an extended version with \startfrontmatter..\stopfrontmatter \startbodymatter…\stopbodymatter. — Unfortunately It does not work to my wish in the actual setup of my book. — I am using now the solution

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-21 Thread Willi Egger via ntg-context
Hello Wolfgang, thank you so much for your time and investigation. — Indeed your solution works fine! I use the latest version from March 2022. I use \startbodymatter cum suis. Lieber Gruß Willi > On 20 Mar 2022, at 17:21, Wolfgang Schuster via ntg-context > wrote: > > Wil

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 20.03.2022 um 17:05: Hoi Wolfgang, I tested both variants (bodymatter and bodypart. The compilation runs through, however without the thumb-picture in the margin and the metafun error is in the log. 1. Do you use \startfrontmatter and \startbodymatter

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Willi Egger via ntg-context
pter][style=\ssc] > > % Local settings for chapter in the bodymatter block > \startsectionblockenvironment[bodypart] > \setuphead[chapter][color=blue] > \stopsectionblockenvironment > > \starttext > > \startfrontmatter > > \title{Table of content} > > \

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Willi Egger via ntg-context
ontmatter > > %\page[yes] > > \start > \setups{Thumb-pictures} > > \startbodymatter > \startchapter[title=Test B] > \samplefile{ward} > \stopchapter > > \startchapter[title=Test C] > \samplefile{ward} > \stopchapter > > \startchapter[title=

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
\stopfrontmatter \startbodymatter \chapter{Knuth} \input knuth \chapter{Zapf} \input zapf \stopbodymatter \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-19 Thread Otared Kavian via ntg-context
} \startbodymatter \startchapter[title=Test B] \samplefile{ward} \stopchapter \startchapter[title=Test C] \samplefile{ward} \stopchapter \startchapter[title=Test D] \samplefile{ward} \stopchapter \stopbodymatter \stop \startbackmatter \dorecurse{5}{\startchapter[title=Test #1

[NTG-context] help with facing page image

2022-03-06 Thread jbf via ntg-context
in bodymatter: \startbodymatter \definelayer[mylayer] % name of the layer [x=0mm, y=0mm, % from upper left corner of paper width=\paperwidth,height=\paperheight] % let the layer cover the full paper \setlayer[mylayer] [hoffset=2.5cm, voffset=3cm] {\externalfigure[Chapter1.jpg][width=.9

Re: [NTG-context] Strange behavior with \startbodymatter ... \stopbodymatter

2021-12-28 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 28.12.2021 um 15:34: Hi, In my file cours_premiere.tex if I indicate  \startbodymatter       \component[probabilites.tex]  \stopbodymatter I get the following error message tex error     > tex error on line 49 in file ./cours_premiere.

[NTG-context] Strange behavior with \startbodymatter ... \stopbodymatter

2021-12-28 Thread Fabrice Couvreur via ntg-context
Hi, In my file cours_premiere.tex if I indicate \startbodymatter \component[probabilites.tex] \stopbodymatter I get the following error message tex error > tex error on line 49 in file ./cours_premiere.tex: Undefined control sequence \pgfmath@settrigformat \pgfm

[NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
\startbodymatter \chapter{Chapter ONE} \section{Section ONE} \writetolist[section]{}{Section via writetolist ONE} \chapter{Chapter TWO} \stopbodymatter \startbackmatter \chapter{Detailed Table of Contents} \placecontent[criterium=all] \stopbackmatter \stoptext ###end

Re: [NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread Wolfgang Schuster via ntg-context
{test} \fakewords{1000}{1200} \stoptext The following code does the same, but wraps the fakewords in a bodymatter environment: \setuppagenumbering[location=right] \usemodule[visual] \usebtxdataset[bibliography.bib] \starttext \title{test} \startbodymatter \fakewords{1000}{1200} \stopbodymatter

Re: [NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread Taco Hoekwater via ntg-context
t; \title{test} > \fakewords{1000}{1200} > > \stoptext > > The following code does the same, but wraps the fakewords in a bodymatter > environment: > > \setuppagenumbering[location=right] > > \usemodule[visual] > > \usebtxdataset[bibliography.bib] > \starttex

[NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread A A via ntg-context
* environment: *\setuppagenumbering[location=right]\usemodule[visual]\usebtxdataset[bibliography.bib]\starttext\title{test}* *\startbodymatter\fakewords{1000}{1200}\stopbodymatter* *\stoptext* In the first case, the title remains on the same page as the fake text. In the second case, a new

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread jbf via ntg-context
a particular layer to repeat on recto pages only, but I don't want this to happen in frontmatter, only in bodymatter. This is what I have done, just before the first chapter after \startbodymatter (but unsuccessfully; the layer repeats for every page at the moment. I must have omitted something). Hi Julian

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread Pablo Rodriguez via ntg-context
On 11/9/21 4:18 AM, jbf via ntg-context wrote: > I want a particular layer to repeat on recto pages only, but I don't > want this to happen in frontmatter, only in bodymatter. > > This is what I have done, just before the first chapter after > \startbodymatter (but unsuccessf

[NTG-context] repeat layer recto pages

2021-11-08 Thread jbf via ntg-context
I want a particular layer to repeat on recto pages only, but I don't want this to happen in frontmatter, only in bodymatter. This is what I have done, just before the first chapter after \startbodymatter (but unsuccessfully; the layer repeats for every page at the moment. I must have omitted

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
knuth} \stopchapter \stopfrontmatter \startbodymatter \dorecurse{3}{ \SectionPrequote{The world is not \rationals, it is \reals\crlf {\tf Gerben Wierda}} \part{Title title title} \PartAbstract{This is a part abstract.} \dorecurse{2}{ \SectionPrequote{If you think good architecture

Re: [NTG-context] Compilation error with the new version of lmtx

2021-10-17 Thread Hans Hagen via ntg-context
,            interaction=all,             alternative=c]       \stoptitle     \stopfrontmatter     \startbodymatter         \component[chapter_1]         \component[chapter_2]     \stopbodymatter \stopproduct ## tex

[NTG-context] Compilation error with the new version of lmtx

2021-10-16 Thread Fabrice Couvreur via ntg-context
\startbodymatter \component[chapter_1] \component[chapter_2] \stopbodymatter \stopproduct ## tex error > tex error on line 1 in file ./expertes.tex: Undefined control sequence \undefi

[NTG-context] Generating HTML

2021-10-11 Thread Hans Åberg via ntg-context
cator=no] \startchapter[title={Introduction}] Foobar\index{foobar} out of working order. \startbodymatter Foo\index{foo} or bar\index{bar}. \startbackmatter \completeindex \stopbackmatter \stoptext — ___ If your que

Re: [NTG-context] Roman PDF labels

2021-09-14 Thread Pablo Rodriguez via ntg-context
\page} \stopfrontmatter \startbodymatter \dorecurse{25}{\null\page} \stopbodymatter \stoptext I hope it helps, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to t

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Adam Reviczky via ntg-context
; \defineprocessor [bodypartnumber] [left=Chapter~] > \defineprocessor [appendixnumber] [left=Appendix~] > > \stopsectionblockenvironment > > \starttext > > \startfrontmatter > \completecontent > \stopfrontmatter > > \startbodymatter > \chapter{Bodypart} >

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Wolfgang Schuster via ntg-context
number] \startsectionblockenvironment [frontpart] \defineprocessor [bodypartnumber] [left=Chapter~] \defineprocessor [appendixnumber] [left=Appendix~] \stopsectionblockenvironment \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbody

[NTG-context] TOC labeltext and no partlabel

2021-08-24 Thread Adam Reviczky via ntg-context
\startfrontmatter \completecontent[label=section] \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \chapter{Appendix} \stopappendices \stoptext But that does not show the labels in the TOC (trying it with LMTX and MKIV). I must be doing something wrong. Any hints

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Pablo's solution works, but I tried yours without success. Here are the main lines of my project begin product \startproduct[terminale-manual] \project[terminale-environment] \startdocument \startfrontmatter ... \stopfrontmatter \startbodymatter \component

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Wolfgang Schuster via ntg-context
and chapters (or whatever the right name is). I’m not sure I get what you’re experiencing: with a single chapter, do you have the fancy layout or not? It would make sense that the fancy chapter doesn’t appear only compiling a chapter. I guess there is no \startbodymatter...\stopbodymatter wrapping

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
ot? > > It would make sense that the fancy chapter doesn’t appear only compiling > a chapter. I guess there is no \startbodymatter...\stopbodymatter > wrapping it. > > Another approach would be: > > \setuphead >[chapter] >[align=flushright, >

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Pablo Rodriguez via ntg-context
t what you’re experiencing: with a single chapter, do you have the fancy layout or not? It would make sense that the fancy chapter doesn’t appear only compiling a chapter. I guess there is no \startbodymatter...\stopbodymatter wrapping it. Another approach would be: \setuphead [chapter]

Re: [NTG-context] Conditional formatting with *frontpart, *bodypart, *backpart modes

2021-08-12 Thread Pablo Rodriguez via ntg-context
ctionblockenvironment[backpart] \setupbodyfont[termes] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupbodyfont[helvetica] \stopsectionblockenvironment \starttext \startfrontmatter \input knuth\par \stopfrontmatter \startbodymatter

[NTG-context] Conditional formatting with *frontpart, *bodypart, *backpart modes

2021-08-12 Thread Joey McCollum via ntg-context
[pagella, 12pt] \stopmode \startmode[*backpart] \setupbodyfont[termes, 12pt] \stopmode \starttext \startfrontmatter \input knuth\par \stopfrontmatter \startbodymatter \input knuth\par \stopbodymatter \startbackmatter \input knuth\par \stopbackmatter \stoptext ``` Is there something obvious

[NTG-context] Rotating pages

2021-08-07 Thread Jeroen via ntg-context
[ A4,landscape] \setuppagenumbering[ location={footer,center}] \setbreakpoints[compound] \starttext \startsection[title={MyTitle},ref={apx}] \dorecurse{10}{\input zapf\par} \stopsection \stoptext \stopbuffer \savebuffer[list=apx, file=apx.tex] \starttext \startbodymatter

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-06 Thread Jeroen via ntg-context
ize \item Item 1 \item Item 2 \stopitemize \stopsection \startsection[title={MySlideTitle},ref={myref2}] Body text \startitemize \item Item 1 \item Item 2 \stopitemize \stopsection \stoptext\starttext text \stoptext \stopbuffer \savebuffer[list=slides, file=slides.tex] \starttext \startb

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
file=\jobname_slides.tex, prefix=no] \starttext \startbodymatter \dorecurse{25}{\input zapf\par} \typesetfile[\jobname_slides.tex][--purgeall][object=no, width=0pt] \stopbodymatter \startappendices \getfiguredimensions[\jobname_slides.pdf] \dorecurse{\noffigurepages} {\startTEX

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Pablo Rodriguez via ntg-context
\dorecurse{25} {\startmakeup[standard][pagestate=start, style={\ss\bf}, align=center] Slide \pagenumber \stopmakeup} \stoptext \stopbuffer \savebuffer[list=slides, file=\jobname_slides.tex, prefix=no] \starttext \startbodymatter \dorecurse{25}{\input zapf\par} \typesetfile[\job

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-18 Thread Wolfgang Schuster
for your document. begin document.tex \startproduct [*] \environment [document-environment] \startdocument % \startfrontmatter % % load components with table of contents, introduction etc. % % \stopfrontmatter \startbodymatter \component [document-xxx] \stopbodymatter \stopdocument

[NTG-context] Fwd: Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
testproject \startbodymatter \component boo.tex \stopbodymatter \stopproduct % master001.tex -- LMTX 2021.03.02 \startproduct testproduct001 \project testproject \startbodymatter \component foo.tex \stopbodymatter \stopproduct % boo.tex -- LMTX 2021.03.02 \startcomponent boo \project

Re: [NTG-context] Help figuring why long document stops short in xml export

2021-02-24 Thread Christoph Hintermüller
\startstandardmakeup 66 \title{Programmiertechnik 2} 67 \subsubject{Dr. Christoph Hintermüller} 68 >> \stopstandardmakeup 69 \startfrontmatter 70 \completecontent 71 %\placecombinedlist[content] 72 \stopfrontmatter 73 \startbodymatter 74 75

[NTG-context] LMTX problem with XML

2021-02-14 Thread Pablo Rodriguez
{#1} \stopxmlsetups \startxmlsetups xml:body \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:frontmatter \startfrontmatter \xmlflush{#1} \stopfrontmatter \stopxmlsetups \startxmlsetups xml:bodymatter \startbodymatter \xmlflush{#1} \stopbodymatter \stopxmlset

Re: [NTG-context] repeated chapter in LMTX Reference Manual?

2020-12-04 Thread Hans Hagen
On 12/4/2020 9:06 PM, Pablo Rodriguez wrote: Hi Hans, many thanks for your new upload that fixes the issue with scaled external figures. I have just accidentally realized: \startbodymatter \component luametatex-preamble \component luametatex-differences

[NTG-context] repeated chapter in LMTX Reference Manual?

2020-12-04 Thread Pablo Rodriguez
Hi Hans, many thanks for your new upload that fixes the issue with scaled external figures. I have just accidentally realized: \startbodymatter \component luametatex-preamble \component luametatex-differences [...] \stopbodymatter \startbackmatter

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-09 Thread jbf
  [frontpart]   [number=yes] \setuplist   [forword]   [label=forword,    width=2cm] \setuplist   [chapter]   [label=chapter,    width=2cm] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter \startbodymatter \startchapter

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread jbf
\startbodymatter \startchapter [title=Chapter 1] [author={A. u. thor}] \stopchapter \stopbodymatter \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread Wolfgang Schuster
] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter \startbodymatter \startchapter [title=Chapter 1] [author={A. u. thor}] \stopchapter \stopbodymatter \stoptext Wolfgang

Re: [NTG-context] Appendix question

2020-09-08 Thread Wolfgang Schuster
] \setuplabeltext [en] [chapter=Chapter , appendix=Appendix ] \starttext \startbodymatter \stopbodymatter \dorecurse{5}{\chapter{Chapter #1}} \startappendices \dorecurse{5}{\chapter{Chapter #1}} \stopappendices \stoptext Wolfgang

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-06 Thread Jan Willem Flamma
   \component fm-titlepage   \component fm-tableofcontents \stopfrontmatter \startbodymatter    \component co-01   \component co-02 \stopbodymatter \startappendices    \component co-ap-01   \component co-ap-02 \stopappendices \startbackmatter    \copypages[app1.pdf][n=4] \stopbackmatter \stopproduct

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Wolfgang Schuster
}] \setupdocument [ manual={Course Manual}, title={Title}, subtitleone={Subtitle 1}, subtitletwo={Subtitle 2}, revnumber={Revision number}] \startfrontmatter \component fm-frontpage \component fm-titlepage \component fm-tableofcontents \stopfrontmatter \startbodymatter

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Jan Willem Flamma
matter    \component fm-frontpage    \component fm-titlepage    \component fm-tableofcontents\stopfrontmatter % Load bodymatter file\startbodymatter\setupbackgrounds    [leftpage]    [setups=pagenumber:left]\setupbackgrounds    [rightpage]    [setups=pagenumber:right]\setuppagenumber[number=1]    \com

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread jbf
\MySubtitleTwo{Subtitle 2} \define\MyRevnumber{Revision number} % Load frontmatter files \startfrontmatter \component fm-frontpage \component fm-titlepage \component fm-tableofcontents \stopfrontmatter % Load bodymatter file \startbodymatter \setupbackgrounds [leftpage] [setups=pagenumber:left

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread Jan Willem Flamma
bodymatter file\startbodymatter\setupbackgrounds    [leftpage]    [setups=pagenumber:left]\setupbackgrounds    [rightpage]    [setups=pagenumber:right]\setuppagenumber[number=1]    \component co-01    \component co-02\stopbodymatter % Load backmatter files\startbackmatter\setupbackgrounds

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-02 Thread Wolfgang Schuster
is some 16 pages worth (ends on a verso page but that verso carries the arabic number 1 instead of page xvi which it should be, since the final paragraph on that page ends with \stopfrontmatter. That means Chapter 1 (immediately after \startbodymatter) is now page 2 instead of page 1! I tried

[NTG-context] \setupuserpagenumber not working as expected

2020-09-02 Thread jbf
on a verso page but that verso carries the arabic number 1 instead of page xvi which it should be, since the final paragraph on that page ends with \stopfrontmatter. That means Chapter 1 (immediately after \startbodymatter) is now page 2 instead of page 1! I tried a slightly simpler version

Re: [NTG-context] Label to delete in the table of contents

2020-08-24 Thread Fabrice Couvreur
ank#1\blank#2} > > When I compile my project, I have the label "Chapitre" above the word > "Sommaire" in the table of contents : how to delete it ? > > > 1. Don't apply the command to \title > > \setuphead[title][command=] > > > 2. Make the command

Re: [NTG-context] Label to delete in the table of contents

2020-08-24 Thread Wolfgang Schuster
section blocks (e.g. \startbodymatter) \startsectionblockenvironment[bodypart]     \setuphead[chapter][command=\HeadTitle] \stopsectionblockenvironment Wolfgang ___ If your question is of interest to others as well,

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Wolfgang Schuster
][align=middle,pagestate=start,doublesided=no] \starttext \startfrontmatter \startmakeup[ToC] \placecontent \stopmakeup \chapter{Preface} \stopfrontmatter \startbodymatter \dorecurse{10}{\chapter{Foo}} \stopbodymatter \stoptext I have

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
tmakeup[ToC] \placecontent \stopmakeup \chapter{Preface} \stopfrontmatter \startbodymatter \dorecurse{10}{\chapter{Foo}} \stopbodymatter \stoptext I have no idea how to allow chapters to start at arbitrary pages when alternative=doublesided. Nicola ___

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
agenumbering[alternative=doublesided] \definemakeup[ToC][align=middle,pagestate=start] \starttext \startfrontmatter \startmakeup[ToC] \placecontent \stopmakeup \input{knuth} \stopfrontmatter \startbodymatter \dorecurse{10}{\chapter{Foo}} \st

  1   2   3   4   5   6   7   >